﻿using SqlSugar;

namespace SqlsugarApiDemo.Models
{
    [SugarTable("Pizza")]//对应数据里的表名/Pizza在数据库里面是Pizza
    public class Pizza
    {
        /// <summary>
        /// id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]//设置主键
        public int Id { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 结果
        /// </summary>
        public bool IsGlutenFree { get; set; }
    }
}
